package com.chezai.client.bean;

/**
 * Describe 表B.22　状态位定义
 * Created by LZF on 2017-02-17.
 */
public class GnssStatus {
    /**
     * Acc状态 false 关  true 开
     **/
    private boolean acc;
    /**
     * 定位状态： false 未定位  true 已定位
     **/
    private boolean location;
    /**
     * 纬度方向 ： 北纬， 南纬
     **/
    private boolean lat;
    /**
     * 经度方向 ： 东经，西经
     **/
    private boolean lng;
    /**
     * 运营状态： true 运行中， false 停运中
     **/
    private boolean runing;
    /**
     * 经纬度是否加密： true 是  false 否
     **/
    private boolean lngLatEncryption;
    /**
     * 是否是正常汇报
     **/
    private boolean upLoadType;

    /**
     * 车辆油路 true 正常， false断开
     **/
    private boolean oilStatus;
    /**
     * 车辆电路  true 正常 false 断开
     **/
    private boolean electritStatus;
    /**
     * 车门锁， true 加锁， false解锁
     **/
    private boolean lock;

    public void GnssStatus() {

    }

    public boolean isAcc() {
        return acc;
    }

    public void setAcc(boolean acc) {
        this.acc = acc;
    }

    public boolean isLocation() {
        return location;
    }

    public void setLocation(boolean location) {
        this.location = location;
    }

    public boolean getLat() {
        return lat;
    }

    public void setLat(boolean lat) {
        this.lat = lat;
    }

    public boolean getLng() {
        return lng;
    }

    public void setLng(boolean lng) {
        this.lng = lng;
    }

    public boolean isRuning() {
        return runing;
    }

    public void setRuning(boolean runing) {
        this.runing = runing;
    }

    public boolean isLngLatEncryption() {
        return lngLatEncryption;
    }

    public void setLngLatEncryption(boolean lngLatEncryption) {
        this.lngLatEncryption = lngLatEncryption;
    }

    public boolean isOilStatus() {
        return oilStatus;
    }

    public void setOilStatus(boolean oilStatus) {
        this.oilStatus = oilStatus;
    }

    public boolean isElectritStatus() {
        return electritStatus;
    }

    public void setElectritStatus(boolean electritStatus) {
        this.electritStatus = electritStatus;
    }

    public boolean isLock() {
        return lock;
    }

    public void setLock(boolean lock) {
        this.lock = lock;
    }

    @Override
    public String toString() {
        return "GnssPackageStatus [acc=" + acc + ", location=" + location + ", lat=" + lat + ", lng=" + lng
                + ", runing=" + runing + ", lngLatEncryption=" + lngLatEncryption + ", oilStatus=" + oilStatus
                + ", electritStatus=" + electritStatus + ", lock=" + lock + "]";
    }

    public boolean isUpLoadType() {
        return upLoadType;
    }

    public void setUpLoadType(boolean upLoadType) {
        this.upLoadType = upLoadType;
    }

}
